package com.ray.bean;

import com.ray.util.SnowFlakeGeneratorUtil;

//工资相关操作记录实体类
public class SalaryRelatedOperationsRecordBean {
	private Long id;//
	private String tableName;//操作表表名（sqlserver数据库表名最大128字符）
	private String fieldName;//操作表字段名（sqlserver数据库字段名最大128字符）
	private String tableRecordId;//操作表的表id，用于查找修改的记录
	private String previousValue;//修改之前的值
	private String modifiedValue;//修改之后的值
	private String effectiveDate;//生效日期
	private Integer state;//状态 0：未生效、1：已生效
	private Integer operatorId;//操作用户id
	private String operationTime;//操作时间
	private String ipAddress;//操作电脑的ip地址
	
	public SalaryRelatedOperationsRecordBean() {
		this.id = SnowFlakeGeneratorUtil.generateId(1,1);
	}
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getTableName() {
		return tableName;
	}
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	public String getFieldName() {
		return fieldName;
	}
	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}
	public String getTableRecordId() {
		return tableRecordId;
	}
	public void setTableRecordId(String tableRecordId) {
		this.tableRecordId = tableRecordId;
	}
	public String getPreviousValue() {
		return previousValue;
	}
	public void setPreviousValue(String previousValue) {
		this.previousValue = previousValue;
	}
	public String getModifiedValue() {
		return modifiedValue;
	}
	public void setModifiedValue(String modifiedValue) {
		this.modifiedValue = modifiedValue;
	}
	public String getEffectiveDate() {
		return effectiveDate;
	}
	public void setEffectiveDate(String effectiveDate) {
		this.effectiveDate = effectiveDate;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public Integer getOperatorId() {
		return operatorId;
	}
	public void setOperatorId(Integer operatorId) {
		this.operatorId = operatorId;
	}
	public String getOperationTime() {
		return operationTime;
	}
	public void setOperationTime(String operationTime) {
		this.operationTime = operationTime;
	}
	public String getIpAddress() {
		return ipAddress;
	}
	public void setIpAddress(String ipAddress) {
		this.ipAddress = ipAddress;
	}
	
}
